package com.community.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.common.base.BaseService;
import com.community.dto.OwnerDTO;
import com.community.po.OwnerPO;
import com.lening.common.base.BaseService;

import java.util.List;

/**
 * @ToDo:
 * @Author：高尚磊
 * @date: 2024/6/4 8:57
 */
public interface OwnerService extends BaseService<OwnerPO, OwnerDTO> {
    List<OwnerPO> find();
    int insert(OwnerPO ownerPO);
//    Page<OwnerDTO> getAllOwner(OwnerDTO ownerDTO);
//    OwnerPO getOwnerId(Long id);
    OwnerPO getByTel(String phone);

    int getCount();
}
